<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<head>
<title>审批任务</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
	<div class="container" id="content">
		<section class="content-header">
			<h1>
				<i class="fa fa-users"></i> <strong>审批任务</strong>
			</h1>
			<ol class="breadcrumb">
				<li><a href="#"><i class="fa fa-home "></i>Home</a></li>
				<li>审批任务</li>
				<li class="active">审批任务</li>
			</ol>
		</section>
		<!-- Main content -->
		<section class="content">
			<div class="box box-info">
				<div class="box-header with-border">
					<i class="fa fa-th-list"></i>
					<h4 class="box-title">审批任务</h4>
				</div>
				<div class="box-body">
					<table class="table table-bordered data-table mytable">
						<thead>
							<tr>
								<th width="10%">编号</th>
								<th width="">任务名称</th>
								<th width="">审批内容</th>
								<th width="">创建时间</th>
								<th width="">提交人</th>
							</tr>
						</thead>
						<tbody>
							<tr th:each="task,it:${tasks}">
								<td th:text="${it.count}"></td>
								<td class="center" ><a href="#" th:text="${task.processDefinitionName}" th:id="${task.taskId}" class="btnAudit"></a></td>
									<td th:text="${task.contentUrl}"></td>
								<td class="center" th:text="${#dates.format(task.taskCreateTime,'yyyy/MM/dd HH:mm')}"></td>
								<td class="center" th:text="${task.starterName}"></td>
							</tr>
						</tbody>
					</table>

				</div>
			</div>

		</section>



		<!--审批任务弹窗-->
		<div id="auditModal" class="modal fade" tabindex="-1" role="dialog">
			<div class="modal-dialog" role="document">
				<div class="modal-content">

				</div>        <!-- /.modal-content -->
			</div>    <!-- /.modal-dialog -->
		</div><!-- /.modal -->
		<script th:src="@{/task/taskindex.js}"></script>
	</div>

</body>
</html>